﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class KhachHangBUS
    {
        public static List<KhachHangDTO> layDSKhachHang()
        {
            return KhachHangDAO.LaydsKhachHang();
        }

        public static void ThemKhachHang(string tenKhachHang, long maLoaiKhach, string soCMND, string diaChi)
        {
            KhachHangDAO.themKhachHang(tenKhachHang, maLoaiKhach, soCMND, diaChi);
        }
        public static long layDSMaKHTheoTenVaCMND (String ten, String cmnd)
        {
            return KhachHangDAO.layMaKHTheoTenVaCMND(ten, cmnd);
        }
    }
}
